<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page language="java" import="java.sql.*"%>
<%@ page import="packaging.*"%>
<%
	//为取出的值设置中文编码
	request.setCharacterEncoding("utf-8");
	String id = request.getParameter("id");
	String sql = "delete from imp where p_id=?";
	check db = new check();
	Object[] param = {id} ;
	db.doUpdate(sql,param);
	response.sendRedirect("index.jsp");
%>

